package com.tucy.logistics.modules.organization.service;

import com.tucy.logistics.common.entity.organization.OrganizationPosition;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author tucy123
* @description 针对表【organization_position(地理位置表)】的数据库操作Service
* @createDate 2023-09-15 16:10:16
*/
public interface OrganizationPositionService extends IService<OrganizationPosition> {

    /**
     * 更新地理位置
     * @return
     */
    Boolean restock();

    /**
     * 查询省级单位
     * @return
     */
    List<OrganizationPosition> queryProvincePosition();

    /**
     * 查询省市县
     * @param provinceId
     * @return
     */
    List<OrganizationPosition> queryThreePosition(Long provinceId);

}
